//
//  YMOrder.swift
//  Driver
//
//  Created by lantaiyuan on 2017/11/1.
//  Copyright © 2017年 youmy. All rights reserved.
//

import Foundation

class Order_root: NSObject {
    var desc: String?
    var type: Int64 = 0
    var obj: Order_obj?
    var msg: String?
}

class Order_obj: NSObject {
    var persons: Int64 = 0
    var costTime: Int64 = 0
    var totalDistance: Int64 = 0
    var cityCode: String?
    var userId: String?
    var income: Int64 = 0
    var pathLine: String?
    var estimateTime: Int64 = 0
    var vehicleId: String?
    var distanceFromStart: Int64 = 0
    var distributeToAppTime: Int64 = 0
    var matchId: String?
    var carpoolRoute:Order_carpoolRoute?
}

class Order_carpoolRoute: NSObject {
    var carpoolRouteId: String?
    var carpoolRouteStations: Array<Order_carpoolRouteStations>?
    class func modelContainerPropertyGenericClass() ->[String: Any] {
        return ["carpoolRouteStations": Order_carpoolRouteStations.self]
    }
}

class Order_carpoolRouteStations: NSObject {
    var stationNo: Int64 = 0
    var stationLon: Double = 0
    var stationLat: Double = 0
    var stationType: Int64 = 0
    var arriveTime: Int64 = 0
    var stationName: String?
    var downNum: Int64 = 0
    var stationId: String?
    var upNum: Int64 = 0
}
